package com.xbongbong.pro.sheet.pojo.vo;

import com.xbongbong.paas.toolbox.wrap.BaseVO;
import com.xbongbong.pro.domain.entity.UpdateDataEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;
import java.util.Map;

/**
 * @author zcp
 * @version v1.0
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class HandleLinkInfoVO extends BaseVO {
    private static final long serialVersionUID = 6273090061441407442L;

    /**
     * 要更新的关联业务list
     */
    List<UpdateDataEntity> updateList;
    /**
     * 关联业务id - 该关联业务(应收款)所属模式
     * 注：目前只有应收款有所属模式，合同无
     */
    Map<Long, Long> idModelTypeMap;

    public HandleLinkInfoVO(List<UpdateDataEntity> updateList, Map<Long, Long> idModelTypeMap) {
        this.updateList = updateList;
        this.idModelTypeMap = idModelTypeMap;
    }
}
